﻿using System;
using System.Windows.Forms;

namespace HalconDotNet
{
	/// <summary>
	/// Provides data for the HMouseUp, HMouseDown, and HMouseMove  events.
	/// </summary>
	// Token: 0x0200000E RID: 14
	public class HMouseEventArgs : EventArgs
	{
		// Token: 0x06000084 RID: 132 RVA: 0x00003F8B File Offset: 0x0000218B
		internal HMouseEventArgs(MouseButtons button, int clicks, double x, double y, int delta)
		{
			this.button = button;
			this.clicks = clicks;
			this.x = x;
			this.y = y;
			this.delta = delta;
		}

		/// <summary>Gets which mouse button was pressed.</summary>
		// Token: 0x17000016 RID: 22
		// (get) Token: 0x06000085 RID: 133 RVA: 0x00003FB8 File Offset: 0x000021B8
		public MouseButtons Button
		{
			get
			{
				return this.button;
			}
		}

		/// <summary>
		///   Gets the number of times the mouse button was pressed and released.
		/// </summary>
		// Token: 0x17000017 RID: 23
		// (get) Token: 0x06000086 RID: 134 RVA: 0x00003FC0 File Offset: 0x000021C0
		public int Clicks
		{
			get
			{
				return this.clicks;
			}
		}

		/// <summary>Gets the column coordinate of a mouse click.</summary>
		// Token: 0x17000018 RID: 24
		// (get) Token: 0x06000087 RID: 135 RVA: 0x00003FC8 File Offset: 0x000021C8
		public double X
		{
			get
			{
				return this.x;
			}
		}

		/// <summary>Gets the row coordinate of a mouse click.</summary>
		// Token: 0x17000019 RID: 25
		// (get) Token: 0x06000088 RID: 136 RVA: 0x00003FD0 File Offset: 0x000021D0
		public double Y
		{
			get
			{
				return this.y;
			}
		}

		/// <summary>
		///   Gets a signed count of the number of detents the mouse wheel
		///   has rotated. A detent is one notch of the mouse wheel.
		/// </summary>
		// Token: 0x1700001A RID: 26
		// (get) Token: 0x06000089 RID: 137 RVA: 0x00003FD8 File Offset: 0x000021D8
		public int Delta
		{
			get
			{
				return this.delta;
			}
		}

		// Token: 0x04000051 RID: 81
		private readonly MouseButtons button;

		// Token: 0x04000052 RID: 82
		private readonly int clicks;

		// Token: 0x04000053 RID: 83
		private readonly double x;

		// Token: 0x04000054 RID: 84
		private readonly double y;

		// Token: 0x04000055 RID: 85
		private readonly int delta;
	}
}
